<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
	<meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
    
    <title><tiles:insertAttribute name="title" ignore="true" /></title>
    
    <link rel="stylesheet" href="css/jquery.mobile-1.4.0.min.css" />
    <link rel="stylesheet" href="css/styles.css" />
    
	<script src="js/jquery-1.10.2.min.js"></script>
	<script src="js/jquery.mobile-1.4.0.min.js"></script>
	<script src="js/jquery.number.min.js"></script>
    <script src="js/main.js"></script>
    
    <tiles:useAttribute name="js" id="js"/>
	<c:if test="${!empty js}">
        <script type="text/javascript" src="js/<tiles:getAsString name="js" />"></script>
	</c:if>
</head>
<body>
<tiles:insertAttribute name="body" />
</body>
</html>